/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.agh.student.logic.webapp;

import java.util.List;
import javax.ejb.Local;
import org.jbpm.api.history.HistoryProcessInstance;
import pl.edu.agh.student.model.Application;


/**
 *
 * @author janburkot
 */
@Local
public interface ProcessBean {
    
    List<HistoryProcessInstance> getAll();
    Application getApplication(HistoryProcessInstance process);
    HistoryProcessInstance getCurrentProcess();
    void setSelectedProcess(HistoryProcessInstance process);
    
    void destroy();

    public java.util.List<pl.edu.agh.student.model.Attachment> getFiles();
}
